<?php if ($messages): ?>
<div id='block-messages' class='block block-messages'>
    <div class='block-title'></div>
    <div class='block-content'>
        <?php print $messages; ?>
    </div>
</div>
<?php endif; ?>